package com.itheima003;

import com.itheima02.ChuShi;

public class Test {
    public static void main(String[] args) {

        Employee e = new Employee("heima000","元老员工");
        System.out.println(e.getId()+' '+e.getName());
        e.work();


        xingZheng x = new xingZheng("heima002","行政的一个人");
        System.out.println(x.getId()+' '+x.getName());
        x.work();

        WeiHu w = new WeiHu("hiema003","张三(维护)");
        System.out.println(w.getId()+' '+w.getName());
        w.work();

        CaiGou c = new CaiGou("hiema004","李四(采购)");
        System.out.println(c.getId()+' '+c.getName());
        c.work();

        JiaoYanBu jy=new JiaoYanBu("hiema004","教研部的一个人");
        System.out.println(jy.getId()+' '+jy.getName());
        jy.work();

        JiangShi js=new JiangShi("hiema005","王五(讲师)");
        System.out.println(js.getId()+' '+js.getName());
        js.work();

        zhuJiao zj=new zhuJiao("heima006","赵六(助教)");
        System.out.println(zj.getId()+' '+zj.getName());
        zj.work();


    }
}
